package org.example.coupon.service;


import org.example.core.utils.PageUtils;
import org.example.core.utils.R;
import org.example.coupon.entity.SeckillSessionEntity;
import org.example.coupon.vo.SRelationVo;

import java.util.List;

/**
 * @author xiaojie_cc
 * @version 1.0
 */
public interface SeckillSessionService{

    R<?> addSeckillSession(SeckillSessionEntity seckillSession);

    PageUtils querySeckillSessionList(Integer pageNum, Integer pageSize, String name, Integer status);

    SeckillSessionEntity querySeckillSessionInfo(Long id);

    R<?> updateSeckillSession(SeckillSessionEntity seckillSession);

    List<SRelationVo> querySelectSeckillSession(Long promotionId);

    List<SeckillSessionEntity> canSession();

}

